package com.zhuiyun.project.cyclingapplet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author guojingzhi
 * @since 2024-07-16
 */
@TableName("call_record")
public class CallRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID （张梦涵）
     */
    @TableId(value = "call_record_id", type = IdType.AUTO)
    private Integer callRecordId;

    /**
     * 活动ID
     */
    private Integer activityId;

    /**
     * 发起者ID
     */
    private Integer starterId;

    /**
     * 接收者ID
     */
    private String receiverId;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 通话时长
     */
    private LocalTime callTime;

    public Integer getCallRecordId() {
        return callRecordId;
    }

    public void setCallRecordId(Integer callRecordId) {
        this.callRecordId = callRecordId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getStarterId() {
        return starterId;
    }

    public void setStarterId(Integer starterId) {
        this.starterId = starterId;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public LocalTime getCallTime() {
        return callTime;
    }

    public void setCallTime(LocalTime callTime) {
        this.callTime = callTime;
    }

    @Override
    public String toString() {
        return "CallRecord{" +
        "callRecordId = " + callRecordId +
        ", activityId = " + activityId +
        ", starterId = " + starterId +
        ", receiverId = " + receiverId +
        ", startTime = " + startTime +
        ", endTime = " + endTime +
        ", callTime = " + callTime +
        "}";
    }
}
